﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RelationExpertSystem
{
    public class PersonPair : IRuleTarget<RelationEventArgs>
    {
        public Person PersonA;
        public Person PersonB;
        
        public InferenceCallback<RelationEventArgs> Inference
        {
            set
            {
                this.PersonA.RelationAddedCallback = new RelationAddedDelegate(value);
            }
        }

        public PersonPair(Person a, Person b)
        {
            this.PersonA = a;
            this.PersonB = b;
        }

        public void InferenceCallbackNoop<T>(T inferenceData)
        {
        }

        //public IEnumerable<Relations> GetRelations()
        //{
        //    return PersonA.GetRelations(b);
        //}
    }
}
